﻿/*
 * MIT License
 *Copyright (c) 2021 咖啡与网络(java-and-net)
 *
 */
using System;
using System.Collections.Generic;
using CoreShop.Model;
using SqlSugar;

namespace CoreShop.Services
{
    /// <summary>
    /// 支付信息接口
    /// </summary>
    public interface IcorecmsdepartmentService
    {

        #region 支付信息

        /// <summary>
        /// 更新支付信息
        /// </summary>
        /// <param name="custo"></param>
        /// <returns></returns>
        bool UpdDataInfo(corecmsdepartment sysPayment);


        /// <summary>
        /// 查询所有支付信息
        /// </summary>
        /// <returns></returns>
        List<corecmsdepartment> SelectDataAll();

        /// <summary>
        /// 根据支付信息
        /// </summary>
        /// <param name="number"></param>
        /// <returns></returns>
        corecmsdepartment SelectDataByNumber(string number);

        /// <summary>
        /// 根据支付信息
        /// </summary>
        /// <param name="number"></param>
        /// <returns></returns>
        corecmsdepartment SelectDataById(Int32 id);
        #endregion
    }
}